<template>
  <div class="page-tools">
    <el-row type="flex" justify="space-between" align="middle" class="myrow">
      <el-col :span="10">
        <slot class="left" name="left" v-if="showLeft">
          <i class="el-icon-info" style="color: #409eff"></i>
          <span> 本月: 社保在缴 公积金在缴 增员 减员 入职 离职</span>
        </slot>
      </el-col>
      <el-col :span="4">
        <slot class="right" name="right">
          <el-button type="primary" size="mini">历史扫描</el-button>
          <el-button type="primary" size="mini">导出</el-button>
        </slot>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data () {
    return {
      showLeft: false
    }
  }
}
</script>

<style lang="scss">
.page-tools {
  height: 55px;
  background-color: #fff;
  .myrow {
    height: 55px;
    padding-left: 20px;
    .left {
      border: 1px solid #91d5ff;
      display: inline-block;
      padding: 5px 9px;
      background-color: #e6f7ff;
    }
  }
}
</style>
